package com.kaiyidiannao.model.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by mark on 14-4-11.
 * 二手房
 */
public class SecondHandHouse implements Serializable {

    /**
     * 缩略图
     */
    private String catid;
    private String itemid;

    private String thumb;

    //名称
    private String title;

    //联系人
    private String truename;
    private String username;

    //联系人电话
    private String telephone;

    //价格
    private String price;

    //地址
    private String address;

    //房大小
    private String area;

    //放年限
    private String houseyear;

    //人气
    private String hits;

    //vip 0否 1是
    private int vip;

    //添加日期
    private String adddate;

    //添加时间
    private String addtime;

    //详情介绍
    private String introduce;

    //修改日期
    private String editdate;

    //修改时间
    private String edittime;

    private Boolean is_fav;

    private String fid;

    private String status;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    private String[] picture;//图片

    public String[] getPicture() {
        return picture;
    }

    public void setPicture(String[] picture) {
        this.picture = picture;
    }

    public ArrayList<String> getPicture2() {
        ArrayList<String> arrayList = new ArrayList<String>();
        for (int i = 0 ; picture != null && i < picture.length; ++i) {
            arrayList.add(picture[i]);
        }
        return arrayList;
    }

    public String getCatid() {
        return catid;
    }

    public void setCatid(String catid) {
        this.catid = catid;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public Boolean getIs_fav() {
        return is_fav;
    }

    public void setIs_fav(Boolean is_fav) {
        this.is_fav = is_fav;
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid(String itemid) {
        this.itemid = itemid;
    }

    public int getVip() {
        return vip;
    }

    public void setVip(int vip) {
        this.vip = vip;
    }

    public String getAdddate() {
        return adddate;
    }

    public void setAdddate(String adddate) {
        this.adddate = adddate;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getEditdate() {
        return editdate;
    }

    public void setEditdate(String editdate) {
        this.editdate = editdate;
    }

    public String getEdittime() {
        return edittime;
    }

    public void setEdittime(String edittime) {
        this.edittime = edittime;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getHouseyear() {
        return houseyear;
    }

    public void setHouseyear(String houseyear) {
        this.houseyear = houseyear;
    }

    public String getHits() {
        return hits;
    }

    public void setHits(String hits) {
        this.hits = hits;
    }

    @Override
    public String toString() {
        return "SecondHandHouse{" +
                "thumb='" + thumb + '\'' +
                ", title='" + title + '\'' +
                ", truename='" + truename + '\'' +
                ", telephone='" + telephone + '\'' +
                ", price='" + price + '\'' +
                ", address='" + address + '\'' +
                ", area='" + area + '\'' +
                ", houseyear='" + houseyear + '\'' +
                ", hits='" + hits + '\'' +
                ", vip=" + vip +
                ", adddate='" + adddate + '\'' +
                ", addtime='" + addtime + '\'' +
                ", introduce='" + introduce + '\'' +
                ", editdate='" + editdate + '\'' +
                ", edittime='" + edittime + '\'' +
                '}';
    }
}
